{% extends "base.html" %}
{% comment %}
<!--
  Copyright (C) 2010 ZHENG Zhong <http://www.zhengzhong.net/>
  Created on 2010-02-18.
  $Id$
-->
{% endcomment %}

{% load friday_extra %}

{% block banner %}

  <div class="simple">

    <div class="banner-text">
      <img class="icon" src="{% url friday.view_avatar username=user.username %}" alt="{{ user|escape }}"/>
      <h1>
        <a href="{% url friday.view_profile username=user.username %}">
          {% if profile %}
            {{ profile|escape }}
          {% else %}
            {{ user|escape }}
          {% endif %}
        </a>
      </h1>
      <div class="links">
        <a href="{% url friday.view_profile username=user.username %}">Profile</a>
        {% if profile and profile.website %}
          &bull; <a href="{{ profile.website }}">Website</a>
        {% endif %}
        &bull; Joined on {{ user.join_date|date:"d N Y" }}
      </div>
      <div class="clear"></div>
    </div>

  </div>

{% endblock %}

